﻿;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; DIPLOMACY SCRIPT (Handle AI Diplomacy)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; USAGE:
;
; Basic structure of an AI diplomatic event:
; { 
; #NAME= Event name (this will be shown as a selectable event under an OPTIONS screen within the game)
; #POPUP= Event popup text (this will be displayed when the event occurs)
; #FLAG= Will this be a default event for the campaign? (values range [0, 1]; True= 1; False= 0)
; #TYPE= Values range [0, 3];
;        With all other fields satisfied will this be:
;        0 = Single check regardless if #TRIGGER is satisfied
;        1 = Multiple check until #TRIGGER is satisfied
;        2 = Reoccuring check until end of game
;                       OR
;        Once the #DATE field is satisfied:
;        3 = Event fires once if all other fields are satisfied, else it will not fire.  Either way, event will be removed never to be looked at again
; #LEVEL= What minimum skill level, as selected from the AI difficulty level screen in game, with this event apply to?
;         Values: [0, 4]; Green= 0; Novice= 1; Intermediate= 2; Veteran= 3; Expert= 4
; #GV= Does the event activate based on the Global Variable values assigned?
;      Ten random Global Variables are assigned at the start of the campaign each with a value between [1,100]
;      Format: GV [min, max]; GV range [1,10]; min range [1,100]; max range [1,100]
;      Example A) #GV= 1[1,100] will always trigger because Global Variable #1 will always have a value between [1,100]
;      Example B) #GV= 4[71,100] will trigger 30% per game
; #LINK= Does the event activate based on the Link values assigned?
;        A campaign can have up to 1100 Decision events and is referenced by other events via this parameter
;        Format: decision[flag]; flag range [0, 1]; True= 1; False= 0
;        Example A) #LINK= 0[0] will always trigger as formal DECISION events can only be from 1-1100
;        Example B) #LINK= 1[0] will trigger whenever #DECISION= 1 is not accepted
;        Example C) #LINK= 3[1] will trigger whenever #DECISION= 3 is accepted
; #TRIGGER= Trigger percentage that the event will occur (values range [0, 100])
; #COUNTRY_ID= Country ID associated with this event
; #SKIP_FUNDS_CHECK= Should we skip the applicable funds check? (values range [0, 1]; True= 1; False= 0)
; #DIPLOMATIC_ID= Country ID targeted in the diplomatic event
; #DATE= Date that must be satisfied (in game) for event to occur (format yyyy/mm/dd)
; #FRIENDLY_POSITION= Positions that must be under friendly control in order for event to occur
; #VARIABLE_CONDITION= Under what variable conditions will this event occur
;                      Format: country_id [political_alignment] [min_activation%] [surrendered_flag]
; #TACTICAL_CONDITION= Tactical map position (resource) that currently MUST NOT be threatened for event to
;                      occur, i.e. plan owner should have tactical advantage over this position
;                      Format: x,y [tactical_flag]
; #ACTIVATE_POSITION= Condition positions that will serve to ACTIVATE the event.
;                     Looks at distance as well as a selected number of Union/Confederates units as specified by 'alignment' flag
;                     Format: x,y [min_range, max_range] [min_units, max_units] [alignment]
; #CANCEL_POSITION= Condition positions that will serve to CANCEL the event.
;                   Looks at distance as well as a selected number of Union/Confederates units as specified by 'alignment' flag
;                   Format: x,y [min_range, max_range] [min_units, max_units] [alignment]
; }
;
; NOTES:
;
; Each event must be preceded by a '{' and end with a '}'
;
; Diplomacy Plan identity is determined by #COUNTRY_ID and #DIPLOMATIC_ID.  A country can only have a single plan based 
; on this criteria and will be assigned the first valid plan regardless of duplicate script entries (even if the 
; remaining control '#' values are different).
; Note:  This will also allow you to set up a variety of plans with the same identity but different
; control '#' parameters where the first 'event' satisfied will be the fist plan assigned (for added variability).
;
; Each Diplomacy event corresponds with a single diplomatic chit purchase by #COUNTRY_ID towards 
; #DIPLOMATIC_ID.  For mulitple diplomatic chit purchases you could choose an event #TYPE=2 or set up multiple
; events of either #TYPE=1 or #TYPE=0.  In any event repetitive events will only be successful if the maximum
; applicable chit level has not been reached and there are sufficient funds for diplomatic purchase.
; Note:  Maximum chit levels as well as diplomatic costs can be adjusted via the Editor.
;
; #FRIENDLY_POSITION - First position must refer to a land tile, subsequent positions can refer to either land or coastal tiles.
; Note:  More than one #FRIENDLY_POSITION can be set.  #FRIENDLY_POSITION refers to the current side associated with this 
;        plan.  Each #FRIENDLY_POSITION will be read using AND logic.
;
;        For all AI scripts that use the #FRIENDLY_POSITION field, the AI picks available units closest to and connected to
;        the first #FRIENDLY_POSITION, within #RANGE, and then sends them to the nearest available position for the script; 
;        e.g., a city for a GUARD script, a port for a TRANSPORT script, etc.  All AI scripts require that the first 
;        #FRIENDLY_POSITION be a land tile, with the exception of Fleet scripts.
;
; #VARIABLE_CONDITION - More than one #VARIABLE_CONDITION can be set.  Under #VARIABLE_CONDITION you can also list 
; countries that have not yet fully entered the war.  For example by listing an activation % less than 100% you
; are providing a check where the #VARIABLE_CONDITION country must meet a minimum activation % (but is
; not yet at 100%) in order for the event to occur.  To check for a fully activated country simply
; list the activation % at 100%.  Each #VARIABLE_CONDITION line will be read using AND logic.
;
; More than one #TACTICAL_CONDITION can be set.  #TACTICAL_CONDITION refers to the current side, i.e.
; country associated with this plan having tactical superiority over the specified map position.
; Tactical superiority can be fine tuned via the TACTICAL_ID flag.  Each #TACTICAL_CONDITION line will
; be read using AND logic.
; Note:  TACTICAL_ID= SEA implies that the port or city in question has an adjacent enemy unit in order for it
;        to be threatened.  For example a land locked city can never be threated by SEA so this can be used as a
;        dummy position.
;
; More than one #ACTIVATE_POSITION can be set.  Distance or range checks will be based on the
; specified x,y position.  For example if the x,y position is a coastal tile then range checks will
; be made on sea tiles, otherwise if it is a land tile range checks will be made on land tiles only.
; Each #ACTIVATE_POSITION line will be read using OR logic.
; Note: Once a plan has been properly activated then all references to #ACTIAVATE_POSITION are removed
;       from the plan as these conditions have been satisfied.  Use #CANCEL_POSITION to set the CANCEL conditions
;       based on unit positions for the event.
;
; More than one #CANCEL_POSITION can be set.  Distance or range checks will be based on the
; specified x,y position.  For example if the x,y position is a coastal tile then range checks will
; be made on sea tiles, otherwise if it is a land tile range checks will be made on land tiles only.
; Each #CANCEL_POSITION line will be read using OR logic.
;
; Use the reference values provided for #COUNTRY_ID and not the country names
; Use the reference values provided for TACTICAL_ID and not tactical names
; Use the reference values provided for POLITICAL ALIGNMENT and not names
; Use the reference values provided for SURRENDER flags and not names
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; COUNTRY ID REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Country IDs
; Country IDs
; #COUNTRY_ID_1= Alabama
; #COUNTRY_ID_2= Alaska
; #COUNTRY_ID_3= Arizona
; #COUNTRY_ID_4= Arkansas
; #COUNTRY_ID_5= California
; #COUNTRY_ID_6= Colorado
; #COUNTRY_ID_7= Connecticut
; #COUNTRY_ID_8= Delaware
; #COUNTRY_ID_9= Florida
; #COUNTRY_ID_10= Georgia
; #COUNTRY_ID_11= Hawaii
; #COUNTRY_ID_12= Idaho
; #COUNTRY_ID_13= Illinois
; #COUNTRY_ID_14= Indiana
; #COUNTRY_ID_15= Iowa
; #COUNTRY_ID_16= Kansas
; #COUNTRY_ID_17= Kentucky
; #COUNTRY_ID_18= Louisiana
; #COUNTRY_ID_19= Maine
; #COUNTRY_ID_20= Maryland
; #COUNTRY_ID_21= Massachusetts
; #COUNTRY_ID_22= Michigan
; #COUNTRY_ID_23= Minnesota
; #COUNTRY_ID_24= Mississippi
; #COUNTRY_ID_25= Missouri
; #COUNTRY_ID_26= Montana
; #COUNTRY_ID_27= Nebraska
; #COUNTRY_ID_28= Nevada
; #COUNTRY_ID_29= New Hampshire
; #COUNTRY_ID_30= New Jersey
; #COUNTRY_ID_31= New Mexico
; #COUNTRY_ID_32= New York
; #COUNTRY_ID_33= North Carolina
; #COUNTRY_ID_34= North Dakota
; #COUNTRY_ID_35= Ohio
; #COUNTRY_ID_36= Oklahoma
; #COUNTRY_ID_37= Oregon
; #COUNTRY_ID_38= Pennsylvania
; #COUNTRY_ID_39= Rhode Island
; #COUNTRY_ID_40= South Carolina
; #COUNTRY_ID_41= South Dakota
; #COUNTRY_ID_42= Tennessee
; #COUNTRY_ID_43= Texas
; #COUNTRY_ID_44= Utah
; #COUNTRY_ID_45= Vermont
; #COUNTRY_ID_46= Virginia
; #COUNTRY_ID_47= Washington
; #COUNTRY_ID_48= West Virginia
; #COUNTRY_ID_49= Wisconsin
; #COUNTRY_ID_50= Wyoming
; #COUNTRY_ID_51= Apache
; #COUNTRY_ID_52= Argentina
; #COUNTRY_ID_53= Austria
; #COUNTRY_ID_54= Bolivia
; #COUNTRY_ID_55= Brazil
; #COUNTRY_ID_56= Canada
; #COUNTRY_ID_57= Cherokee
; #COUNTRY_ID_58= Chickasaw
; #COUNTRY_ID_59= Chile
; #COUNTRY_ID_60= China
; #COUNTRY_ID_61= Choctaw
; #COUNTRY_ID_62= Colombia
; #COUNTRY_ID_63= Commanche
; #COUNTRY_ID_64= Confederacy
; #COUNTRY_ID_65= Costa Rica
; #COUNTRY_ID_66= Creek
; #COUNTRY_ID_67= Cuba
; #COUNTRY_ID_68= Denmark
; #COUNTRY_ID_69= Deseret
; #COUNTRY_ID_70= Dominican Republic
; #COUNTRY_ID_71= Ecuador
; #COUNTRY_ID_72= El Salvador
; #COUNTRY_ID_73= France
; #COUNTRY_ID_74= Germany
; #COUNTRY_ID_75= Guatemala
; #COUNTRY_ID_76= Haiti
; #COUNTRY_ID_77= Honduras
; #COUNTRY_ID_78= Italy
; #COUNTRY_ID_79= Japan
; #COUNTRY_ID_80= Japanese Shogunate
; #COUNTRY_ID_81= Liberia
; #COUNTRY_ID_82= Mexican Empire
; #COUNTRY_ID_83= Mexico
; #COUNTRY_ID_84= Navajo
; #COUNTRY_ID_85= Netherlands
; #COUNTRY_ID_86= Nicaragua
; #COUNTRY_ID_87= Osage
; #COUNTRY_ID_88= Ottomans
; #COUNTRY_ID_89= Panama
; #COUNTRY_ID_90= Paraguay
; #COUNTRY_ID_91= Peru
; #COUNTRY_ID_92= Philippines
; #COUNTRY_ID_93= Portugal
; #COUNTRY_ID_94= Prussia
; #COUNTRY_ID_95= Pueblo
; #COUNTRY_ID_96= Puerto Rico
; #COUNTRY_ID_97= Rio Grande
; #COUNTRY_ID_98= Russia
; #COUNTRY_ID_99= Seminole
; #COUNTRY_ID_100= Spain
; #COUNTRY_ID_101= Sweden
; #COUNTRY_ID_102= UK
; #COUNTRY_ID_103= Union
; #COUNTRY_ID_104= Uruguay
; #COUNTRY_ID_105= USCA
; #COUNTRY_ID_106= Venezuela
; #COUNTRY_ID_107= Yucatan
; #COUNTRY_ID_108= 
; #COUNTRY_ID_109= 
; #COUNTRY_ID_110= 
; #COUNTRY_ID_111= Blockade Runners
; #COUNTRY_ID_112= Blockade Runners
; #COUNTRY_ID_113= Blockade Runners
; #COUNTRY_ID_114= Blockade Runners
; #COUNTRY_ID_115= Blockade Runners
; #COUNTRY_ID_116= Blockade Runners
; #COUNTRY_ID_117= Blockade Runners
; #COUNTRY_ID_118= Blockade Runners
; #COUNTRY_ID_119= Red
; #COUNTRY_ID_120= Black
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; TACTICAL ID REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; ANY= 0
; LAND= 1
; AIR= 2
; NAVAL= 3
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; POLITICAL ALIGNMENT REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; NEUTRAL= 0
; AXIS= 1
; ALLIED= 2
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; SURRENDERED FLAG REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; NOT_SURRENDERED= 0
; SURRENDERED= 1
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

{
#NAME= Confederates: Missouri
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 64
#TRIGGER= 50
; AI won't attempt to swing border states below level 2
#LEVEL= 2
; Set global variable condition to always trigger (dummy value)
#GV= 4[1,50]
; Set link value to always trigger (dummy value)
#LINK= 501[0]
#SKIP_FUNDS_CHECK= 0
#DIPLOMATIC_ID= 25
#DATE= 1861/04/24
; Set friendly positions:
; 1st Line - Richmond
#FRIENDLY_POSITION= 155,70
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 25 [1] [0] [0]
; Set tactical conditions:
; 1st Line - Richmond not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 155,70 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

{
#NAME= Confederates: Kentucky
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 64
#TRIGGER= 50
; AI won't attempt to swing border states below level 2
#LEVEL= 2
; Set global variable condition to always trigger (dummy value)
#GV= 4[51,100]
; Set link value to always trigger (dummy value)
#LINK= 0[0]
#SKIP_FUNDS_CHECK= 0
#DIPLOMATIC_ID= 17
#DATE= 1861/04/12
; Set friendly positions:
; 1st Line - Richmond
#FRIENDLY_POSITION= 155,70
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 17 [1] [0] [0]
; Set tactical conditions:
; 1st Line - Richmond not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 155,70 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

{
#NAME= Confederates: UK
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 64
#TRIGGER= 25
; CS AI won't attempt to swing Europeans below level 2
#LEVEL= 2
; Set global variable condition to always trigger (dummy value)
#GV= 4[26,75]
; Set link value to always trigger (dummy value)
; Only diplos UK if picked UK in the cotton event
#LINK= 110[1]
#SKIP_FUNDS_CHECK= 0
#DIPLOMATIC_ID= 102
#DATE= 1861/09/01
; Set friendly positions:
; 1st Line - Richmond
#FRIENDLY_POSITION= 155,70
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 102 [2] [0] [0]
; Set tactical conditions:
; 1st Line - Richmond not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 155,70 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

{
#NAME= Confederates: France
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 64
#TRIGGER= 25
; CS AI won't attempt to swing Europeans below level 2
#LEVEL= 2
; Set global variable condition to always trigger (dummy value)
#GV= 4[26,75]
; Set link value to always trigger (dummy value)
; Only diplos FRA if picked FRA in the cotton event
#LINK= 111[1]
#SKIP_FUNDS_CHECK= 0
#DIPLOMATIC_ID= 73
#DATE= 1861/09/01
; Set friendly positions:
; 1st Line - Richmond
#FRIENDLY_POSITION= 155,70
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 73 [2] [0] [0]
; Set tactical conditions:
; 1st Line - Richmond not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 155,70 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

{
#NAME= Confederates: Spain
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 64
#TRIGGER= 25
; CS AI won't attempt to swing Europeans below level 2
#LEVEL= 2
; Set global variable condition to always trigger (dummy value)
#GV= 4[26,75]
; Set link value to always trigger (dummy value)
; Only diplos SPA if picked SPA in the cotton event
#LINK= 111[0]
#SKIP_FUNDS_CHECK= 0
#DIPLOMATIC_ID= 100
#DATE= 1861/09/01
; Set friendly positions:
; 1st Line - Richmond
#FRIENDLY_POSITION= 155,70
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 100 [2] [0] [0]
; Set tactical conditions:
; 1st Line - Richmond not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 155,70 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

{
#NAME= Union: UK Lv3
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 103
#TRIGGER= 50
#LEVEL= 3
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 1000[1]
#SKIP_FUNDS_CHECK= 0
#DIPLOMATIC_ID= 102
#DATE= 1861/09/01
; Set friendly positions:
; 1st Line - Washington
#FRIENDLY_POSITION= 157,61
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 102 [2] [30] [0]
; Set tactical conditions:
; 1st Line - Washington not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 157,61 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

{
#NAME= Union: UK Lv2
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 103
#TRIGGER= 50
#LEVEL= 2
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 1000[1]
#SKIP_FUNDS_CHECK= 0
#DIPLOMATIC_ID= 102
#DATE= 1861/09/01
; Set friendly positions:
; 1st Line - Washington
#FRIENDLY_POSITION= 157,61
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 102 [2] [40] [0]
; Set tactical conditions:
; 1st Line - Washington not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 157,61 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

{
#NAME= Union: UK Lv1
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 103
#TRIGGER= 25
#LEVEL= 1
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 1000[1]
#SKIP_FUNDS_CHECK= 0
#DIPLOMATIC_ID= 102
#DATE= 1861/09/01
; Set friendly positions:
; 1st Line - Washington
#FRIENDLY_POSITION= 157,61
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 102 [2] [40] [0]
; Set tactical conditions:
; 1st Line - Washington not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 157,61 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

{
#NAME= Union: France Lv3
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 103
#TRIGGER= 50
#LEVEL= 3
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 1000[1]
#SKIP_FUNDS_CHECK= 0
#DIPLOMATIC_ID= 73
#DATE= 1861/09/01
; Set friendly positions:
; 1st Line - Washington
#FRIENDLY_POSITION= 157,61
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 73 [2] [30] [0]
; Set tactical conditions:
; 1st Line - Washington not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 157,61 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

{
#NAME= Union: France Lv2
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 103
#TRIGGER= 50
#LEVEL= 2
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 1000[1]
#SKIP_FUNDS_CHECK= 0
#DIPLOMATIC_ID= 73
#DATE= 1861/09/01
; Set friendly positions:
; 1st Line - Washington
#FRIENDLY_POSITION= 157,61
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 73 [2] [40] [0]
; Set tactical conditions:
; 1st Line - Washington not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 157,61 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

{
#NAME= Union: France Lv1
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 103
#TRIGGER= 25
#LEVEL= 1
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 1000[1]
#SKIP_FUNDS_CHECK= 0
#DIPLOMATIC_ID= 73
#DATE= 1861/09/01
; Set friendly positions:
; 1st Line - Washington
#FRIENDLY_POSITION= 157,61
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 73 [2] [40] [0]
; Set tactical conditions:
; 1st Line - Washington not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 157,61 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

{
#NAME= Union: Spain Lv3
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 103
#TRIGGER= 50
#LEVEL= 3
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 1000[1]
#SKIP_FUNDS_CHECK= 0
#DIPLOMATIC_ID= 100
#DATE= 1861/09/01
; Set friendly positions:
; 1st Line - Washington
#FRIENDLY_POSITION= 157,61
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 100 [2] [30] [0]
; Set tactical conditions:
; 1st Line - Washington not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 157,61 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

{
#NAME= Union: Spain Lv2
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 103
#TRIGGER= 50
#LEVEL= 2
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 1000[1]
#SKIP_FUNDS_CHECK= 0
#DIPLOMATIC_ID= 100
#DATE= 1861/09/01
; Set friendly positions:
; 1st Line - Washington
#FRIENDLY_POSITION= 157,61
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 100 [2] [40] [0]
; Set tactical conditions:
; 1st Line - Washington not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 157,61 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

{
#NAME= Union: Spain Lv1
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 103
#TRIGGER= 25
#LEVEL= 1
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 1000[1]
#SKIP_FUNDS_CHECK= 0
#DIPLOMATIC_ID= 100
#DATE= 1861/09/01
; Set friendly positions:
; 1st Line - Washington
#FRIENDLY_POSITION= 157,61
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 100 [2] [40] [0]
; Set tactical conditions:
; 1st Line - Washington not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 157,61 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}